home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / raytrace / pxm_ray / pxm_ray.lha / pxm-ray / somedefs.c < prev    next >
Encoding:
C/C++ Source or Header  |  1992-12-09  |  580 b   |  45 lines

  1.  
  2. /*
  3.  * stupid definitions
  4.  */
  5. #define    SOMEDEFS
  6. #include    "ray.h"
  7.  
  8. int    noo;
  9. int    nos, nosq, noq, noc;
  10.  
  11. int    tries;
  12.  
  13. double    time1, time2;
  14. double    time;
  15. struct    vector    hor, ver, eye_dir, eye, up;
  16. double    fov;
  17. double    foc, lens;
  18.  
  19. int    bgflag;
  20.  
  21. #ifdef HOST
  22. struct    obj    *obj;
  23. #endif
  24. #ifndef HOST
  25. #define    MAX_OBJS    10
  26. struct    obj    *obj;
  27. #endif
  28.  
  29. struct    light    light;
  30. int    xres = 128, yres = 128;
  31.  
  32. int    objtestline;
  33. int    shadowline;
  34. int    reflectline;
  35. int    refractline;
  36. int    rayline;
  37. int    intersectline;
  38.  
  39. int    shadowcount;
  40. int    raycount;
  41. int    objtestcount;
  42. int    reflectcount;
  43. int    refractcount;
  44. int    intersectcount;
  45.